package org.example.demo2.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.example.demo2.domain.SysOrder;
import org.example.demo2.service.SysOrderService;
import org.example.demo2.mapper.SysOrderMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author Administrator
* @description 针对表【sys_order】的数据库操作Service实现
* @createDate 2025-04-25 14:23:30
*/
@Service
public class SysOrderServiceImpl extends ServiceImpl<SysOrderMapper, SysOrder>
    implements SysOrderService{
    @Autowired
    private SysOrderMapper sysOrderMapper;


    @Override
    public SysOrder getUserById(int id) {
        return sysOrderMapper.selectById(id);
    }

}




